﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Data.Entity;
using System.Diagnostics;
using System.Data.Entity.ModelConfiguration.Configuration.Types;
using System.Data.Entity.ModelConfiguration.Conventions.Configuration;

namespace MSBTC.Model
{
    public class Request
    {
        private static string SN, SO, PN, SA, Dt, Msg, OB, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10;
        private static string UC1, UC2, UC3, UC4, UC5, UC6, UC7, UC8, UC9, UC10, cost;

        #region public string to be called in crystal report
        public string Cost()
        {
            return cost;
        }

        public string SuppName()
        {
            return SN;
        }
        public string SuppOwner()
        {
            return SO;
        }
        public string PName()
        {
            return PN;
        }
        public string SuppAddr()
        {
            return SA;
        }
        public string Date() 
        {
            return Dt;
        }
        public string Message() 
        {
            return Msg;
        }
        public string OrderBy()
        {
            return OB;
        }

        public string Mat1()
        {
            return M1;
        }
        public string Mat2()
        {
            return M2;
        }
        public string Mat3()
        {
            return M3;
        }
        public string Mat4()
        {
            return M4;
        }
        public string Mat5()
        {
            return M5;
        }
        public string Mat6()
        {
            return M6;
        }
        public string Mat7()
        {
            return M7;
        }
        public string Mat8()
        {
            return M8;
        }
        public string Mat9()
        {
            return M9;
        }
        public string Mat10()
        {
            return M10;
        }

        public string Qty1()
        {
            return Q1;
        }
        public string Qty2()
        {
            return Q2;
        }
        public string Qty3()
        {
            return Q3;
        }
        public string Qty4()
        {
            return Q4;
        }
        public string Qty5()
        {
            return Q5;
        }
        public string Qty6()
        {
            return Q6;
        }
        public string Qty7()
        {
            return Q7;
        }
        public string Qty8()
        {
            return Q8;
        }
        public string Qty9()
        {
            return Q9;
        }
        public string Qty10()
        {
            return Q10;
        }
        public string UCt1()
        {
            return UC1;
        }
        public string UCt2()
        {
            return UC2;
        }
        public string UCt3()
        {
            return UC3;
        }
        public string UCt4()
        {
            return UC4;
        }
        public string UCt5()
        {
            return UC5;
        }
        public string UCt6()
        {
            return UC6;
        }
        public string UCt7()
        {
            return UC7;
        }
        public string UCt8()
        {
            return UC8;
        }
        public string UCt9()
        {
            return UC9;
        }
        public string UCt10()
        {
            return UC10;
        }
        #endregion

        #region public string to be called in Form
        public string GetCost(string name)
        {
            cost = name;
            return cost;
        }

        public string GetSN(string name)
        {
            SN = name;
            return SN;
        }

        public string GetSO(string name)
        {
            SO = name;
            return SO;
        }

        public string GetPN(string name)
        {
            PN = name;
            return PN;
        }

        public string GetSA(string name)
        {
            SA = name;
            return SA;
        }

        public string GetDt(string name)
        {
            Dt = name;
            return Dt;
        }

        public string GetMsg(string name)
        {
            Msg = name;
            return Msg;
        }

        public string GetOB(string name)
        {
            OB = name;
            return OB;
        }

        public string GetMat1(string name)
        {
            M1 = name;
            return M1;
        }

        public string GetMat2(string name)
        {
            M2 = name;
            return M2;
        }

        public string GetMat3(string name)
        {
            M3 = name;
            return M3;
        }

        public string GetMat4(string name)
        {
            M4 = name;
            return M4;
        }

        public string GetMat5(string name)
        {
            M5 = name;
            return M5;
        }

        public string GetMat6(string name)
        {
            M6 = name;
            return M6;
        }

        public string GetMat7(string name)
        {
            M7 = name;
            return M7;
        }

        public string GetMat8(string name)
        {
            M8 = name;
            return M8;
        }

        public string GetMat9(string name)
        {
            M9 = name;
            return M9;
        }

        public string GetMat10(string name)
        {
            M10 = name;
            return M10;
        }

        public string GetQty1(string name)
        {
            Q1 = name;
            return Q1;
        }

        public string GetQty2(string name)
        {
            Q2 = name;
            return Q2;
        }

        public string GetQty3(string name)
        {
            Q3 = name;
            return Q3;
        }

        public string GetQty4(string name)
        {
            Q4 = name;
            return Q4;
        }

        public string GetQty5(string name)
        {
            Q5 = name;
            return Q5;
        }

        public string GetQty6(string name)
        {
            Q6 = name;
            return Q6;
        }

        public string GetQty7(string name)
        {
            Q7 = name;
            return Q7;
        }

        public string GetQty8(string name)
        {
            Q8 = name;
            return Q8;
        }

        public string GetQty9(string name)
        {
            Q9 = name;
            return Q9;
        }

        public string GetQty10(string name)
        {
            Q10 = name;
            return Q10;
        }

        public string GetUC1(string name)
        {
            UC1 = name;
            return UC1;
        }

        public string GetUC2(string name)
        {
            UC2 = name;
            return UC1;
        }

        public string GetUC3(string name)
        {
            UC3 = name;
            return UC3;
        }

        public string GetUC4(string name)
        {
            UC4 = name;
            return UC4;
        }

        public string GetUC5(string name)
        {
            UC5 = name;
            return UC5;
        }

        public string GetUC6(string name)
        {
            UC6 = name;
            return UC6;
        }

        public string GetUC7(string name)
        {
            UC7 = name;
            return UC7;
        }

        public string GetUC8(string name)
        {
            UC8 = name;
            return UC8;
        }

        public string GetUC9(string name)
        {
            UC9 = name;
            return UC9;
        }

        public string GetUC10(string name)
        {
            UC10 = name;
            return UC10;
        }

        #endregion
    }
}
